meson with options has been deprecated for a while, and it may be fully
phased out soon.
For Coverity, --fs-capture-search was deprecated in 2019.09 and has been
fully removed for almost 2 years[0].
[0] https://documentation.blackduck.com/bundle/coverity-docs-2024.6/page/coverity-analysis/topics/moving_from_filesystem_capture_to_the_coverity_cli.html
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4059>
- sudo meson install -C mutter/build
script:
- .gitlab-ci/download-coverity-tarball.sh
- - CC=clang meson coverity-build -Dman=false
- - ./coverity/cov-analysis-linux64-*/bin/cov-build --fs-capture-search js --dir cov-int meson compile -C coverity-build
+ - CC=clang meson setup coverity-build -Dman=false
+ - ./coverity/cov-analysis-linux64-*/bin/cov-build --dir cov-int meson compile -C coverity-build
- tar czf cov-int.tar.gz cov-int
- curl https://scan.coverity.com/builds?project=GNOME+Shell
--form token=$COVERITY_TOKEN --form email=carlosg@gnome.org